package com.lanou.mapper;

import com.lanou.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName UserMapper
 * @Description TODO
 * @Author lizhenjiang
 * @Date 2025年08月12日 17:38
 * @Version 1.0
 */
@Mapper
public interface UserMapper {
    int addUser(User user);
    int deleteUser(Integer id);
    int updateUser(User user);
    User selectUser(Integer id);
    User userLogin(@Param("account") String account, @Param("password")String password);
    int findUserPhone(String phone);
}
